package com.caration.shell;

import android.app.ProgressDialog;
import android.content.Context;

public class LoadingDialog {
	private ProgressDialog mDialog;

	public LoadingDialog(Context context) {
		mDialog = new ProgressDialog(context);
		mDialog.setMessage(context.getString(R.string.tsf_loading_content));
		mDialog.setIndeterminate(true);
		mDialog.setCancelable(false);
	}

	public final void show() {
		mDialog.show();
	}

	public final void dismiss() {
		mDialog.dismiss();
	}
}
